const net=require("net");
var socket=new net.Socket();
socket.connect(3000,"127.0.0.1",function(err){
	socket.write("GET / HTTP/1.1\n");
	socket.write("Host:localhost\n\n");
});
socket.on("data",function(chunk){
	console.log(chunk.toString());
});

